<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    页面列表
    <% for (var i in htmlWebpackPlugin.options.fileNames) {%>
        <div>
            <a href="<%=htmlWebpackPlugin.options.fileNames[i]%>.html"><%=htmlWebpackPlugin.options.fileNames[i]%></a>
        </div>
    <% } %>
    <script>
        let test = "<%=htmlWebpackPlugin.options%>"
    </script>
</body>
</html>